import request from '@/utils/request'
import requestApi from '@/utils/requestApi'

export function getInfo(data) {
    return request({
        url: 'accountSetting/getInfo',
        method: 'post',
        data,
    })
}

export function getIdentityInfo(data) {
    return request({
        url: 'accountSetting/getIdentityInfo',
        method: 'post',
        data,
    })
}

export function getUserList(data) {
    return requestApi({
        url: 'http://vehicleapi.xiangbaoche.cn/api.php/main/Vehicle_User_Identity/getList',
        method: 'post',
        data,
    })
}

export function getRoleList(data) {
    return requestApi({
        url: 'http://vehicleapi.xiangbaoche.cn/api.php/main/Vehicle_Role_Identity/getList',
        method: 'post',
        data,
    })
}